package com.ryskoo.catering.billdetail.domain;

import com.ryskoo.framework.core.bean.BasicPO;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 账单明细表
 * @author BeHappy
 */
@Entity
@Table(name = "cater_bill_detail")
public class BillDetailPO extends BasicPO {


    private static final long serialVersionUID = -7249585121184897933L;
    /**
     * 账单uuid
     */
    @Column(name = "bill_uuid", columnDefinition = "char", length = 32)
    private String billUuid;

    /**
     * 订单号
     */
    @Column(name = "order_id", columnDefinition = "char", length = 32)
    private String orderId;


    /**
     * 订单金额
     */
    @Column(name = "order_money", columnDefinition = "decimal", length = 11, precision = 2)
    private double orderMoney;

    public String getBillUuid() {
        return billUuid;
    }

    public void setBillUuid(String billUuid) {
        this.billUuid = billUuid;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public double getOrderMoney() {
        return orderMoney;
    }

    public void setOrderMoney(double orderMoney) {
        this.orderMoney = orderMoney;
    }
}
